package com.testitems.controller.config.apiaddr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author gfh
 * @create 2021/12/12
 */
@ApiModel(value = "更新接口地址配置")
@Data
public class ApiAddrUpdateRequest {

    @ApiModelProperty("接口名称")
    @NotNull
    private String name;

    @ApiModelProperty("接口地址")
    @NotNull
    private String url;

    @ApiModelProperty("接口名称")
    private String remark;
}
